package com.demo.caizi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import uk.co.jemos.podam.api.PodamFactory;
import uk.co.jemos.podam.api.PodamFactoryImpl;

@SpringBootApplication
@EnableAspectJAutoProxy
@EnableScheduling
public class Application{

    public static void main(String[] args) {
        SpringApplication.run(Application.class);
    }

    @Bean
    public PodamFactory podamFactory(){
        return new PodamFactoryImpl();
    }
}
